package newinterface;

/**
 * Author:ZouHeng
 * Description:
 * Date:2021-07-01  16:17
 **/
public class MyInterfaceImpl implements MyInterface {

    @Override
    public void method1() {
        System.out.println("调用MyInterfaceImpl的method1()");
    }

    @Override
    public void method2() {
        System.out.println("调用MyInterfaceImpl的method2()");
    }

//    @Override
//    public void myDefaultMethod() {
//        System.out.println("调用MyInterfaceImpl的myDefaultMethod()");
//    }
}
